home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12793 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: engnews2.Eng.Sun.COM!usenet
  2. From: ball@Eng.Sun.COM (Mike Ball)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Exception Overhead
  5. Date: 21 Mar 1996 18:21:34 GMT
  6. Organization: Sun Microsystems Inc.
  7. Message-ID: <4is6ne$1ui@engnews2.Eng.Sun.COM>
  8. References: <4is2lq$dol@news1.h1.usa.pipeline.com>
  9. Reply-To: ball@Eng.Sun.COM
  10. NNTP-Posting-Host: cygany.eng.sun.com
  11.  
  12. In article dol@news1.h1.usa.pipeline.com, grantp@usa.pipeline.com(Pete Grant) writes:
  13. > Which compilers have implementations such as you've described?  I've 
  14. > checked the assembly listings of MSVC++4.0 and BC++4.52 and they both 
  15. > incur overhead whether or not an exception is thrown. 
  16.  
  17. Well, ours for one, and most of the other UNIX compilers as well.
  18.  
  19. It appears that integrating with the existing Windows exception mechanism
  20. essentially requires that compilers generate slower code for exceptions.
  21. It's not that the compiler vendors have made bad choices, it's that they
  22. are operating in an environment that forces bad choices on them.
  23.  
  24. ---
  25. Michael Ball
  26. SunSoft Development Products
  27.  
  28.  
  29.